package com.xx.job.entity.system;

import com.baomidou.mybatisplus.annotation.IdType;
import com.xx.job.entity.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author liangcy
 * @since 2021-01-14
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class SysLoginLog extends BaseEntity {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private LocalDateTime createdAt;

    private LocalDateTime updatedAt;

    private LocalDateTime deletedAt;

    /**
     * '创建者'
     */
    private Long createBy;

    /**
     * '更新者'
     */
    private Long updateBy;

    /**
     * 用户名
     */
    private String username;

    /**
     * 状态
     */
    private String status;

    /**
     * ip地址
     */
    private String ipaddr;

    /**
     * 归属地
     */
    private String loginLocation;

    /**
     * 浏览器
     */
    private String browser;

    /**
     * 系统
     */
    private String os;

    /**
     * 固件
     */
    private String platform;

    /**
     * 登录时间
     */
    private LocalDateTime loginTime;

    /**
     * 备注
     */
    private String remark;

    /**
     * 信息
     */
    private String msg;


}
